import React, {Component} from 'react';

class OrderDetailStaticItem extends Component {
	static defaultProps = {
		label: '',
		value: ''
	};

	render() {
		return (
			<div className="form-group">
				<label
					htmlFor="name"
					className="col-md-2 control-label"
				>
					{this.props.label}：
				</label>
				<div className="col-md-5">
					<p type="text"
					   className="form-control-static"
					>
						{this.props.value || '暂无信息'}
					</p>
				</div>
			</div>
		);
	}
}

export default OrderDetailStaticItem;